home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c
- Subject: Re: Can C++ run DOS .exe files?
- Date: 6 Mar 1996 09:15:29 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4hjl3h$d1o@sparcserver.lrz-muenchen.de>
- References: <Pine.SUN.3.91.960302145426.22358A-100000-100000-100000-100000@wally.uofport.edu> <313CAF5E.5207@cedarville.edu>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- Tim Hansell <hansellt@cedarville.edu> writes:
-
- >Paul George wrote:
- >> I'm involved in a project which requires C++ to call a DOS executable
- >> file, and then return back to the C++ program upon finishing?
- >>
-
- >It's not a question of C++ having the facility to "shell" to DOS, but
- >rather does the compiler you are using supply a library call which
- >can call the DOS function which starts a program and then waits until it
- >is finished.
-
- >I would say, you could probably write a C++ callable assembly routine
- >to do what you wanted, but it all depends upone the compiler you are
- >using.
-
- I'd say system() is still in the standard C library, and afaik, this
- is true for the current draft of the C++ standard, too (see documentation
- for the header <cstdlib>)
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
- | ua302aa@sunmail.lrz-muenchen.de
-
-